package cn.maihe.elg.operation.centers.follow.channel.service;

import cn.maihe.elg.operation.centers.follow.channel.FollowBaseCenterChannelService;
import cn.maihe.elg.operation.centers.follow.channel.dto.FollowBaseRespDTO;
import cn.maihe.elg.operation.centers.follow.channel.dto.PayResultReceiveReqDTO;
import cn.maihe.elg.operation.centers.follow.config.FollowConfig;
import cn.maihe.elg.operation.centers.follow.enums.MethodEnum;
import cn.maihe.elg.operation.centers.hymake.dto.channel.ChlBizRespData;
import cn.maihe.elg.operation.centers.supports.model.bo.NoticeGuaranteeApplyResultBo;
import cn.maihe.elg.operation.centers.supports.model.bo.NoticePayResultBo;
import cn.maihe.elg.operation.model.dto.InnerBaseResp;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Description 出函机构支付确认到账后通知 电子保函至平台侧
 * @Author WJH
 * @Date 2021/04/21
 */
@Service
@Slf4j
public class FollowPayResultReceiveChannelService extends FollowBaseCenterChannelService<PayResultReceiveReqDTO, FollowBaseRespDTO> {

    @Override
    protected MethodEnum methodEnum() {
        return null;
    }

    @Override
    protected String getUrl(FollowConfig followConfig) {
        return null;
    }


    public InnerBaseResp<NoticeGuaranteeApplyResultBo> noticePayResult(NoticePayResultBo bo) {
        ChlBizRespData chlBizRespData;
        chlBizRespData = new ChlBizRespData();
        chlBizRespData.setCode("0");
        chlBizRespData.setMessage("已开启不推送支付结果到中心");
        return InnerBaseResp.success(chlBizRespData);
    }
}
